export const generateId = () => {
  const now = new Date().getTime()
  const str = 'abcdefghtijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  const len = 10
  let result = ''
  for (let i = 0; i < len; i++) {
    const index = Math.random() * 62
    result += str[index]
  }
  return `${result}${now}`
}
